package com.lt.bcra.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问题默认值表
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BcraDefaultValue对象", description="问题默认值表")
public class BcraDefaultValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问题默认值主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "问题编号")
    private String questionCode;

    @ApiModelProperty(value = "描述信息")
    private String description;

    @ApiModelProperty(value = "最小值")
    private Integer minValue;

    @ApiModelProperty(value = "最大值")
    private Integer maxValue;

    @ApiModelProperty(value = "默认值")
    private Integer defaultValue;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "模块名字")
    private String moduleTitle;

    @ApiModelProperty(value = "模块id")
    private Integer moduleId;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
